package com.haikesi.api.timertask.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
public class TimerTaskAddVO implements Serializable {

    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "平台定时任务ID")
    private String platformTimerTask;

    @ApiModelProperty(value = "定时名称")
    @NotNull(message = "定时名称不能为空")
    private String timerName;

    @ApiModelProperty(value = "激活定时")
    @NotNull(message = "激活定时不能为空")
    private String enableTimer;

    @ApiModelProperty(value = "定时时间")
    @NotNull(message = "定时时间不能为空")
    private String timerTime;

    @ApiModelProperty(value = "定时周期")
    @NotNull(message = "定时周期不能为空")
    private String timerCycle;

    @ApiModelProperty(value = "定时说明")
    private String timerReadme;

    @ApiModelProperty(value = "组织机构ID")
    private String organizationId;

    @ApiModelProperty(value = "模式列表")
    private List<String> modelList;

}
